<extend name="Index::index" />
<block name="table">
	<div class="agoods_nav">
		<span>订单管理</span>
	</div>
	<table class="table" border="1" cellpadding="5" cellspacing="0" align="center">
		<tr bgcolor="#ccc">
			<td>订单号</td>
			<td>评论商品</td>
			<td>评论者</td>
			<td>评论内容</td>
			<td>是否显示</td>
			<td>操作</td>
		</tr>
		<foreach name="list" item="val">
		<tr>
			<td>{$val['olb']}</td>
			<td>{$val['gname']}<img src="__ROOT__{$val['giname']}"></td>
			<td>{$val['uname']}</td>
			<td>{$val['text']}</td>	
			<td>
				<if condition="$val['status'] eq 1">
				<a href="{:U('Arguments/status',['id'=>$val['id']])}">显示</a>				
				<else />
				<a href="{:U('Arguments/status',['id'=>$val['id']])}">不显示</a>
				</if>	
			</td>
			<td>
				<a href="{:U('Arguments/reply',['id'=>$val['id']])}">回复</a>
			</td>
		</tr>
		</foreach>
		<tr>
			<th colspan="6"  style="text-align:center;">{$Page}</th>
		</tr>
	</table>
</block>